package org.jeecg.modules.bean.entity.statistics;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 病例打印记录表
 * @Author: jeecg-boot
 * @Date:   2023-11-29
 * @Version: V1.0
 */
@Data
@TableName("tb_print_statistics")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tb_print_statistics对象", description="病例打印记录表")
public class TbPrintStatistics implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**身份证*/
	@Excel(name = "身份证", width = 15)
    @ApiModelProperty(value = "身份证")
    private String idcard;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String name;
	/**性别*/
	@Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    private String sex;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private Integer age;
	/**就诊号*/
	@Excel(name = "就诊号", width = 15)
    @ApiModelProperty(value = "就诊号")
    private String jzNumber;
	/**就诊日期*/
	@Excel(name = "就诊日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "就诊日期")
    private Date jzTime;
	/**病案用途*/
	@Excel(name = "病案用途", width = 15)
    @ApiModelProperty(value = "病案用途")
    private String purpose;
	/**委托关系*/
	@Excel(name = "委托关系", width = 15)
    @ApiModelProperty(value = "委托关系")
    private String relations;
	/**复印类型*/
	@Excel(name = "复印类型", width = 15)
    @ApiModelProperty(value = "复印类型")
    private String type;
	/**委托原因*/
	@Excel(name = "委托原因", width = 15)
    @ApiModelProperty(value = "委托原因")
    private String reason;
	/**复印内容*/
	@Excel(name = "复印内容", width = 15)
    @ApiModelProperty(value = "复印内容")
    private String content;
	/**复印份数*/
	@Excel(name = "复印份数", width = 15)
    @ApiModelProperty(value = "复印份数")
    private Integer num1;
	/**总张数*/
	@Excel(name = "总张数", width = 15)
    @ApiModelProperty(value = "总张数")
    private Integer num2;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private String total;
	/**出院号*/
	@Excel(name = "出院号", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出院号")
    private Date cyTime;
	/**病案号*/
	@Excel(name = "病案号", width = 15)
    @ApiModelProperty(value = "病案号")
    private String baNumber;
	/**住院号*/
	@Excel(name = "住院号", width = 15)
    @ApiModelProperty(value = "住院号")
    private String zyNumber;
	/**insertTime*/
	@Excel(name = "insertTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "insertTime")
    private Date insertTime;
	/**insertName*/
	@Excel(name = "insertName", width = 15)
    @ApiModelProperty(value = "insertName")
    private String insertName;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
	/**updateName*/
    @Excel(name = "insertName", width = 15)
    @ApiModelProperty(value = "insertName")
    private String updateName;
	/**是否删除 0是 1否*/
	@Excel(name = "是否删除 0是 1否", width = 15)
    @ApiModelProperty(value = "是否删除 0是 1否")
    private String isDel;
}
